package com.extension.company.view.my;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.extension.company.admin.R;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/7/3 09:47
 * 功能：退款适配器
 */
public class QuiteMoneyDetailAdapter extends RecyclerView.Adapter<QuiteMoneyDetailAdapter.Holder> {

	private Context context;

	public QuiteMoneyDetailAdapter(Context context) {
		this.context = context;
	}

	@NonNull
	@Override
	public Holder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
		View view = LayoutInflater.from(context).inflate(R.layout.quite_money_item, viewGroup, false);
		return new Holder(view);
	}

	@Override
	public void onBindViewHolder(@NonNull Holder holder, int i) {

	}

	@Override
	public int getItemCount() {
		return 4;
	}

	class Holder extends RecyclerView.ViewHolder {
		ImageView imageView;

		public Holder(@NonNull View itemView) {
			super(itemView);
			imageView = itemView.findViewById(R.id.quite_money_item_img);
		}
	}
}
